u9ImHd.registerModule('Circumference', [])
    .config(['$stateProvider', function($stateProvider) {
        $stateProvider
            .state('Circumference', {
                url: '/Circumference?Barcode',
                templateUrl: u9ImHd.getFullPath('tpls/circumference.html', 'Circumference'),
                controller: 'Circumference.CircumferenceCtrl',
                resolve: {
                    loadFile: ['$ocLazyLoad', function($ocLazyLoad) {
                        return $ocLazyLoad.load({
                            name: 'Circumference.file',
                            files: [
                                u9ImHd.getFullPath('js/controllers/Circumference.CircumferenceCtrl.js', 'Circumference'),
                                u9ImHd.getFullPath('js/controllers/Circumference.MagnifiersCtrl.js', 'Circumference'),
                                u9ImHd.getFullPath('js/services/Circumference.Param.js', 'Circumference')
                            ]
                        });
                    }]
                }
            })
            .state('Magnifiers', {
                url: '/Magnifiers',
                templateUrl: u9ImHd.getFullPath('tpls/magnifiers.html', 'Circumference'),
                controller: 'Circumference.MagnifiersCtrl'
            });
    }]);
